import * as request from '../utils/request';
import config from '../config/config';

export function logout(params) {
  return request.get(`${config.gate_way_api.logout}`, params);
}

export function getApplicationList(params) {
  return request.get(`${config.base_cache_api.getApplicationList}`, params);
}

export function getCorrelateTeanatAndAppByUser(params) {
  return request.get(`${config.base_cache_api.getCorrelateTeanatAndAppByUser}`, params);
}

export function refreshToken(params) {
  return request.get(`${config.base_cache_api.refreshToken}`, params);
}
